﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
    [CustomAttribute(TableName = "pi_PlanBaoGong_main", Description = "生产报工主表")]
    public class DbPlanBaogongMain
    {
        private int? _id;
        private string _bgcode;
        private string _happendate;
        private string _gxcode;
        private string _plcodes;
        private string _pkey;
        private string _ynum;
        private string _nnum;
        private string _createtime;
        private string _createuser;
        private int? _isdel;
        private string _deldate;
        private string _deluser;
        private string _bgtype;
        private string _memo;
        private string _ppid;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 报工编码
        /// </summary>
        public string bgCode
        {
            set { _bgcode = value; }
            get { return _bgcode; }
        }
        /// <summary>
        /// 发生日期
        /// </summary>
        public string happenDate
        {
            set { _happendate = value; }
            get { return _happendate; }
        }
        /// <summary>
        /// 生产工序
        /// </summary>
        public string gxCode
        {
            set { _gxcode = value; }
            get { return _gxcode; }
        }
        /// <summary>
        /// 关联计划号
        /// </summary>
        public string plCodes
        {
            set { _plcodes = value; }
            get { return _plcodes; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string pKey
        {
            set { _pkey = value; }
            get { return _pkey; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string yNum
        {
            set { _ynum = value; }
            get { return _ynum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string nNum
        {
            set { _nnum = value; }
            get { return _nnum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? isDel
        {
            set { _isdel = value; }
            get { return _isdel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string delDate
        {
            set { _deldate = value; }
            get { return _deldate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string delUser
        {
            set { _deluser = value; }
            get { return _deluser; }
        }
        /// <summary>
        /// 报工类型
        /// </summary>
        public string bgType
        {
            set { _bgtype = value; }
            get { return _bgtype; }
        }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string memo
        {
            set { _memo = value; }
            get { return _memo; }
        }

        public string ppId
        {
            set { _ppid = value; }
            get { return _ppid; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string isFrom { get; set; }
    }
}
